package com.wxy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 478685194
 */
@Controller
@RequestMapping("lib")
public class AllController {
    @RequestMapping("log")
    public String log(){
        return "login";
    }

    @RequestMapping("hello")
    public String hello(){
        return "hello";
    }

    @RequestMapping("book")
    public String book(){
        return "book-list";
    }

    @RequestMapping("borrow")
    public String borrow(){
        return "borrow-record";
    }

    @RequestMapping("userinfo")
    public String userinfo(){
        return "user-info";
    }

    @RequestMapping("allbook")
    public String allbook(){
        return "allbook";
    }

    @RequestMapping("allborrow")
    public String allborrow(){
        return "allborrow";
    }

    @RequestMapping("alluser")
    public String alluser(){
        return "alluser";
    }

    @RequestMapping("addBook")
    public String addBook(){return "addBook";}

    @RequestMapping("deleteBook")
    public String deleteBook(){return "deleteBook";}
}
